Cluster analysis in machine learning